
import 'package:flutter/material.dart';
class JKAppTheme {

  // 字体的设置
  static const double smallFontSize = 12.0;
  static const double normalFontSize = 16.0;
  static const double largeFontSize = 22.0;

  // 颜色的设置
  // 正常的颜色
  static final Color normalTextColor = Colors.brown;
  // 暗黑模式的字体颜色
  static final Color darkTextColor = Colors.yellow;

  // 正常的模式
  static final ThemeData normalTheme = ThemeData(
      primaryColor: Colors.yellow,
      textTheme: TextTheme(
          subtitle1: TextStyle(fontSize: normalFontSize, color: normalTextColor)
      )
  );

  // 暗黑模式
  static final ThemeData darkTheme = ThemeData(
      primaryColor: Colors.yellow,
      textTheme: TextTheme(
          subtitle1: TextStyle(fontSize: normalFontSize, color: darkTextColor)
      )
  );
}